.class Les/hw$f;
.super Ljava/lang/Object;
.source "LogReader.java"

# interfaces
.implements Ljava/util/concurrent/Callable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/hw;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "f"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/concurrent/Callable<",
        "Ljava/util/Map<",
        "Ljava/lang/Long;",
        "Ljava/util/List<",
        "Lcom/estrongs/android/pop/app/log/d;",
        ">;>;>;"
    }
.end annotation


# instance fields
.field private final a:I

.field private final b:J

.field private final c:J

.field private final d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/hw$i;",
            ">;"
        }
    .end annotation
.end field

.field final synthetic e:Les/hw;


# direct methods
.method public constructor <init>(Les/hw;IJJ)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/hw$f;->e:Les/hw;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput p2, p0, Les/hw$f;->a:I

    .line 3
    iput-wide p3, p0, Les/hw$f;->b:J

    .line 4
    iput-wide p5, p0, Les/hw$f;->c:J

    .line 5
    invoke-static {p1}, Les/hw;->g(Les/hw;)Landroid/util/SparseArray;

    move-result-object p1

    invoke-virtual {p1, p2}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/util/List;

    iput-object p1, p0, Les/hw$f;->d:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public bridge synthetic call()Ljava/lang/Object;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Les/hw$f;->call()Ljava/util/Map;

    move-result-object v0

    return-object v0
.end method

.method public call()Ljava/util/Map;
    .locals 20
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/Long;",
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/log/d;",
            ">;>;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    move-object/from16 v0, p0

    .line 2
    invoke-static {}, Ljava/util/Collections;->emptyMap()Ljava/util/Map;

    move-result-object v1

    .line 3
    iget-object v2, v0, Les/hw$f;->e:Les/hw;

    invoke-static {v2}, Les/hw;->h(Les/hw;)Landroid/util/SparseArray;

    move-result-object v2

    iget v3, v0, Les/hw$f;->a:I

    invoke-virtual {v2, v3}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    if-nez v2, :cond_0

    return-object v1

    .line 4
    :cond_0
    new-instance v12, Ljava/util/ArrayList;

    invoke-direct {v12}, Ljava/util/ArrayList;-><init>()V

    .line 5
    iget-object v3, v0, Les/hw$f;->d:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v13

    :cond_1
    :goto_0
    invoke-interface {v13}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_9

    invoke-interface {v13}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    move-object v14, v3

    check-cast v14, Les/hw$i;

    .line 6
    iget-wide v3, v14, Les/hw$i;->e:J

    iget-wide v7, v0, Les/hw$f;->b:J

    cmp-long v5, v3, v7

    if-lez v5, :cond_1

    iget-wide v3, v14, Les/hw$i;->d:J

    iget-wide v9, v0, Les/hw$f;->c:J

    cmp-long v5, v3, v9

    if-lez v5, :cond_2

    goto :goto_0

    .line 7
    :cond_2
    iget-object v15, v14, Les/hw$i;->a:Ljava/lang/String;

    .line 8
    iget-wide v5, v14, Les/hw$i;->c:J

    .line 9
    iget-object v3, v0, Les/hw$f;->e:Les/hw;

    move-object v4, v2

    move-wide/from16 v16, v5

    invoke-static/range {v3 .. v10}, Les/hw;->a(Les/hw;Ljava/lang/String;JJJ)I

    move-result v10

    if-nez v10, :cond_3

    goto :goto_0

    .line 10
    :cond_3
    iget-object v3, v0, Les/hw$f;->e:Les/hw;

    iget-wide v8, v0, Les/hw$f;->b:J

    iget-wide v6, v0, Les/hw$f;->c:J

    move-object v4, v2

    move-object v5, v15

    move-wide/from16 v18, v6

    move-wide/from16 v6, v16

    move-object/from16 v16, v1

    move v1, v10

    move-wide/from16 v10, v18

    invoke-static/range {v3 .. v11}, Les/hw;->a(Les/hw;Ljava/lang/String;Ljava/lang/String;JJJ)Ljava/util/List;

    move-result-object v3

    .line 11
    invoke-interface {v3}, Ljava/util/List;->isEmpty()Z

    move-result v4

    if-eqz v4, :cond_4

    :goto_1
    move-object/from16 v1, v16

    goto :goto_0

    .line 12
    :cond_4
    new-instance v4, Lcom/estrongs/android/pop/app/log/d;

    invoke-direct {v4}, Lcom/estrongs/android/pop/app/log/d;-><init>()V

    .line 13
    iput v1, v4, Lcom/estrongs/android/pop/app/log/d;->k:I

    .line 14
    iput-object v15, v4, Lcom/estrongs/android/pop/app/log/d;->f:Ljava/lang/String;

    .line 15
    iget-object v1, v14, Les/hw$i;->b:Ljava/lang/String;

    if-eqz v1, :cond_6

    .line 16
    iget-object v1, v0, Les/hw$f;->e:Les/hw;

    invoke-static {v1}, Les/hw;->c(Les/hw;)Les/qu$h;

    move-result-object v1

    if-eqz v1, :cond_5

    .line 17
    iget-object v1, v0, Les/hw$f;->e:Les/hw;

    invoke-static {v1}, Les/hw;->c(Les/hw;)Les/qu$h;

    move-result-object v1

    iget-object v5, v14, Les/hw$i;->b:Ljava/lang/String;

    invoke-interface {v1, v5}, Les/qu$h;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v4, Lcom/estrongs/android/pop/app/log/d;->d:Ljava/lang/String;

    goto :goto_2

    .line 18
    :cond_5
    iget-object v1, v14, Les/hw$i;->b:Ljava/lang/String;

    iput-object v1, v4, Lcom/estrongs/android/pop/app/log/d;->d:Ljava/lang/String;

    goto :goto_2

    .line 19
    :cond_6
    iget-object v1, v14, Les/hw$i;->a:Ljava/lang/String;

    invoke-static {v1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v4, Lcom/estrongs/android/pop/app/log/d;->d:Ljava/lang/String;

    const-string v5, ".thumbnails"

    .line 20
    invoke-virtual {v1, v5}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 21
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "skip for log new item:"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, v14, Les/hw$i;->a:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v3, "lgf"

    invoke-static {v3, v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    .line 22
    :cond_7
    :goto_2
    iget-wide v5, v0, Les/hw$f;->b:J

    iput-wide v5, v4, Lcom/estrongs/android/pop/app/log/d;->b:J

    .line 23
    iget v1, v0, Les/hw$f;->a:I

    iput v1, v4, Lcom/estrongs/android/pop/app/log/d;->c:I

    .line 24
    invoke-interface {v3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_3
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_8

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/pop/app/log/o;

    .line 25
    iget-object v5, v14, Les/hw$i;->b:Ljava/lang/String;

    invoke-virtual {v3, v5}, Lcom/estrongs/android/pop/app/log/o;->b(Ljava/lang/String;)V

    .line 26
    iget-object v5, v4, Lcom/estrongs/android/pop/app/log/d;->j:Ljava/util/List;

    invoke-interface {v5, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_3

    .line 27
    :cond_8
    invoke-interface {v12, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_9
    move-object/from16 v16, v1

    .line 28
    invoke-interface {v12}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_a

    .line 29
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 30
    iget-wide v2, v0, Les/hw$f;->c:J

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v2

    invoke-interface {v1, v2, v12}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_4

    :cond_a
    move-object/from16 v1, v16

    :goto_4
    return-object v1
.end method
